<?php
require_once dirname(__FILE__)."/../../classes/Users.class.php"; 

//выборка пяти последних комментариев
$res = Users::show_last_users();
foreach($res as $value){
    $login = $value['login'];
    $datetime = $value['datetime']; 
    
    echo <<<LABEL
    <table style = "width: 310px" valign="top">
      <tr>
        <td width = "200px" height = "20px" bgcolor="#F0F8FF" valign="top">
    <a href="#">$login</a> - $datetime   <br />
        </td>
      </tr>
    </table>
LABEL;
    
}  
?>
